<!-- pass a variable to included page -->
<%@ page import="instructor.sample.*" %>
<%@ page import="java.text.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<% 
   String today = null;
   Today t = new Today();
   today = t.getToday();
   request.setAttribute("picture","ContactUs");
   request.setAttribute("title", "Question Sent");  
   request.setAttribute("header", "Today is " + today);
 %>

<%@ include file="header.jsp"%>

<TD width="850" vAlign="top"> 
<br /><h3>The answer to your question will be emailed to you soon!!!</h3>
<h4>Here is the data you sent to us.</h4>
<hr />
<%
String Question=request.getParameter("CustomerQuestion");
String Work=request.getParameter("Work");
String Position=request.getParameter("Position");
String FName=request.getParameter("FirstName");
String LName=request.getParameter("LastName");
String Address1=request.getParameter("Address1");
String Address2=request.getParameter("Address2");
String City=request.getParameter("City");
String State=request.getParameter("State");
String Zip=request.getParameter("ZipCode");
String Email=request.getParameter("EmailAddress");

// Send the Confirmation Email - For demonstration purposes only			
			
String recipient = Email;
String sender = "dan.jensen@ge.com";
String subjecttext = "Thank you from GE Healthcare";
String mailtext = "<table border=1><tr><td colspan=2>Your question has been received"+
      			  " and your answer will be emailed to you shortly.</td></tr></table>";
			
//   The actual send email statements are commented out.  Remove the comments to activate email.	
		
//      SendEmail myEmail=new SendEmail();
//      myEmail.mailIt(recipient, sender, subjecttext, mailtext);  

%> 
<Table width=100%>
<tr><td width=20%>Customer Question :</td><td><%=Question%></td></tr>
<tr><td>Work Location :</td><td><%=Work%></td></tr>
<tr><td>Position :</td><td><%=Position%></td></tr>
<tr><td>First Name :</td><td><%=FName%></td></tr>
<tr><td>Last Name :</td><td><%=LName%></td></tr>
<tr><td>Address1 :</td><td><%=Address1%></td></tr>
<tr><td>Address2 :</td><td><%=Address2%></td></tr>
<tr><td>City :</td><td><%=City%></td></tr>
<tr><td>State :</td><td><%=State%></td></tr>
<tr><td>ZipCode :</td><td><%=Zip%></td></tr>
<tr><td>Email :</td><td><%=Email%></td></tr>
<tr><td colspan=2><hr><input type=button Value=Return onClick="location.replace('ContactUs.htm')"></td></tr>
</table>

</TD></tr></TABLE></BODY></HTML>